package com.ruoyi.yljf.service;

import com.ruoyi.yljf.domain.dto.AliPayDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

public interface IAlipayService {

    /**
     *
     * app支付。
     * @param aliPayDTO
     * @throws Exception 预创建失败
     */
    HashMap<String, String> aliPayByApp(AliPayDTO aliPayDTO) throws Exception;

    String doAliPayCallBack(HttpServletRequest request) throws Exception;
}
